package com.pp.third.remote.annotation;

        import com.pp.third.remote.config.FeignResourceServerConfig;
        import org.springframework.cloud.openfeign.EnableFeignClients;
        import org.springframework.context.annotation.Import;
        import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
        import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
        import java.lang.annotation.*;

@Documented
@Inherited
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@EnableResourceServer
@Import({FeignResourceServerConfig.class})
@EnableFeignClients(basePackages = {"com.jiyun", "com.pp"})
@EnableGlobalMethodSecurity(securedEnabled = true, prePostEnabled = true)
public @interface EnableFeignLabResourceServer {

}